Namespace: Microsoft.ConfigurationManagement.ApplicationManagement
Assembly: Microsoft.ConfigurationManagement.ApplicationManagement (in Microsoft.ConfigurationManagement.ApplicationManagement.dll)

Usage

Visual Basic
Dim name As String
Dim prop As T
Dim value As T

Me.SetProp(name, prop, value)

Syntax

Visual Basic
<SuppressMessageAttribute("Microsoft.Design", "CA1045:DoNotPassTypesByReference", MessageId:="1#")> _
Protected Sub SetProp(Of T) ( _
		name As String, _
		ByRef prop As T, _
		value As T _
)
C#
[SuppressMessageAttribute("Microsoft.Design", "CA1045:DoNotPassTypesByReference", MessageId="1#")] 
protected void SetProp<T> (
		string name,
		ref T prop,
		T value
)
C++
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1045:DoNotPassTypesByReference", MessageId=L"1#")] 
protected:
generic<typename T>
void SetProp (
		String^ name, 
		T% prop, 
		T value
)
J#

JScript

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also